import {http} from './http.interceptors'

export const login = (data) => http("web/weblogin", data, 'POST')  // 登录

export const editpwd = (data) => http("web/editpwd", data, 'POST')  // 修改密码

export const annouce = (params) =>  http("index/annouce", {params}, 'GET') // 获取公告

export const editannouce = (data) =>  http("web/editannouce", data, 'POST') // 编辑公告

export const getNewslist = (data) =>  http("web/newslist", data, 'POST') // 资讯列表

export const deletenews = (data) =>  http("web/deletenews", data, 'POST') // 删除资讯

export const addnews = (data) =>  http("web/addnews", data, 'POST') // 删除资讯

export const addadm = (data) =>  http("web/addadm", data, 'POST') // 增加管理员

export const deleteadm = (data) =>  http("web/deleteadm", data, 'POST') // 删除管理员

export const adminlist = (data) =>  http("web/adminlist", data, 'POST') // 管理员列表

export const wxlist = (data) =>  http("web/userlist", data, 'POST') // 管理员列表

export const webAppeallist = (data) =>  http("web/webAppeallist", data, 'POST') // 诉求列表

export const deleteappeal = (data) =>  http("web/deleteappeal", data, 'POST') // 诉求列表

export const editappealstatus = (data) =>  http("web/editappeal", data, 'POST') // 诉求 编辑状态

export const orderlist = (data) =>  http("web/orderlistweb", data, 'POST') // 配送订单

export const editorderstatus = (data) =>  http("web/editorderstatus", data, 'POST') // 订单状态

export const deleteorder = (data) =>  http("index/deleteorder", data, 'POST') // 订单状态

export const hspinfo = (params) =>  http("index/hspinfo", {params}, 'GET') // 医院信息

export const editehosiptal = (data) =>  http("web/editehosiptal", data, 'POST') // 修改医院信息

export const goodslist = (data) =>  http("index/goodslist", data, 'POST') // 订单状态

export const deletegood = (data) =>  http("web/deletegood", data, 'POST') // 订单状态

export const editgood = (data) =>  http("web/editgood", data, 'POST') // 订单状态

export const addgood = (data) =>  http("web/addgood", data, 'POST') // 订单状态

